package com.wyman.factory.config;

import com.wyman.BeanException;

/**
 * @Author 李伟民
 * @Description  初始化bean对象方法执行前后执行
 * @DateTime 2024/12/11 22:56
 */
public interface BeanPostProcessor {

    //在初始化方式之前执行
    Object postProcessBeforeInitialization(Object bean,String beanName) throws BeanException;

    //在初始化方法之后执行
    Object postProcessAfterInitialization(Object bean,String beanName) throws BeanException;

}